package com.baijia.ticket.registry;

import com.baijia.ticket.Ticket;
import com.baijia.ticket.TicketGrantingTicket;


/**
 * @title TicketRegistry
 * @desc 存ticket 
 * @author caoliang
 * @date 2015年12月5日
 * @version 1.0
 */
public interface TicketRegistry {

    void addTicket(Ticket ticket);
    
    void updateTicket(Ticket ticket);

    Ticket getTicket(String ticketId);

    boolean deleteTicket(String ticketId);

    void addTicketWithRememberMe(final Ticket ticket);

}
